package com.jml.树;


/**
 * @author:jml
 * @date: 2020/3/30 0030 21:46
 * @description：树集成了链表和数组的有点，查找快，插入快
 */
public class 二叉树 {

    //二叉树的数据结构
    class Node{
        public long data;
        public Node leftChild;
        public Node rightChild;
        public Node(long data) {
            this.data = data;
        }
        public Node(long data, Node leftChild, Node rightChild) {
            this.data = data;
            this.leftChild = leftChild;
            this.rightChild = rightChild;
        }
    }

    private Node root;

    /**
     * 插入节点
     * @param value
     */
    private void insert(long value){

    }

    /**
     * 查找节点
     * @param value
     */
    private void find(long value){

    }

    /**
     * 删除节点
     * @param value
     */
    private void delete(long value){

    }

}
